{case value="multiFile"}
<div class="file">
    <div>
        <a href="javascript:;">多文件上传
            <input type="file" multiple class="file-input">
            <input type="hidden" class="file-hidden" name="{$_item.name}" value="{$_data[$_item['name']]|addslashes}">
        </a>
    </div>
    {peter:foreach exp="string_to_img_array($_data[$_item['name']])  as $_id"}
    <div class="upload-file alert" style="display: inline-block">
        <button type="button" file-value="{$_id|addslashes}" class="file-close close" data-dismiss="alert" aria-label="Close">
            <span aria-hidden="true">&times;</span>
        </button>
        <span>{:htmlspecialchars(get_file_path($_id))}</span>
    </div>
    {/peter:foreach}
</div>

{/case}